<template>
  <div class="flex-box">
      <div>
         <vxe-button status="primary" icon="vxe-icon--refresh roll" @click="addColumnForm()">图标按钮</vxe-button>
      </div>
    	<!-- start 统计分析 添加栏目弹框 -->
        <add-column :propsObj="columnObj" v-if="openAddColumn" v-on:closeAddReportDrawer="closeAddReportDrawer"></add-column>
	     <!-- end 统计分析 添加栏目弹框 -->
  </div>
</template>
<script>
// import addColumn from "../components/addColumn.vue";
const AddColumn = () => import('@/views/components/addColumn');
export default {
  components: {
    'add-column': AddColumn,
  },
  data() {
    return {
      openAddColumn: false,
      columnObj: {}
    };
  },
  created(){

  },
  mounted() {

  },
  methods: {
   		// 添加栏目
			addColumnForm(){
				this.openAddColumn = true;
			},
      // 关闭栏目
			closeAddReportDrawer(){
        this.openAddColumn = false;
			},
  }
};
</script>

<style scoped>

</style>